package com.qf.pojo.vo;

import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * (QfOrder)实体类
 *
 * @author makejava
 * @since 2022-04-28 09:45:53
 */
@Data
@Entity
@Table(name = "qf_order")
public class QfOrder implements Serializable {
    private static final long serialVersionUID = 937278503774616367L;

    @Id
    @Column(name = "orderid")
    private String orderid;
    @Column(name = "order_pay")
    private Double orderPay;
    
    private Integer userid;
    /**
    * 订单状态：1.未支付。2.已支付。3.正在支付。4.取消支付
    */
    @Column(name = "order_status")
    private Integer orderStatus;
    
    private Date createtime;
    @Column(name = "end_time")
    private Date endTime;
    //jpa jpa忽略该属性
    @Transient
    private List<QfOrderDetail> qfOrderDetailList;

}